package idv.np7sky.ocean.producer.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @author zxw
 * @version 2.3.0
 * @date 2020-07-11 17:15
 * @since 2.3.0
 */
@Slf4j
@RestController
@RequestMapping("/producer/info")
public class InfoController {


    /**
     *
     * @param producerId
     */
    @GetMapping("/detail/{producerId}")
    public String detail(@PathVariable(value = "producerId") String producerId) {
            return producerId;
    }

}
